package com.whminwei.edu.api.dc.dto.fspn.student;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangjq
 * @since 2024-10-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcAwardProjectFspn {

    private List<DcAwardProject> projects;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcAwardProject {
        private String projectId;
        /**
         * 项目名称
         */
        private String projectName;
        /**
         * 获奖项目类别
         */
        private String projectCategory;
        /**
         * 项目级别
         */
        private String projectLevel;
        /**
         * 颁奖单位
         */
        private String awardUnit;
        /**
         * 开始时间
         */
        private String startTime;
        /**
         * 结束时间
         */
        private String endTime;
        /**
         * 获奖学生
         */
        private List<DcAwardStudent> students;
        /**
         * 是否删除
         */
        private String deleted;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcAwardStudent {
        private String recordId;
        /**
         * 学生Id
         */
        private String studentId;
        /**
         * 获奖等级
         */
        private String awardLevel;
        /**
         * 获奖日期
         */
        private String awardDate;
        /**
         * 指导老师
         */
        private List<String> teacherIds;
        /**
         * 获奖证明
         */
        private List<String> fileIds;
        /**
         * 是否删除
         */
        private String deleted;
    }
}
